<script>
  import { $POST, $GET } from '@/utils/api.js' // 接口api
	export default {
    onPageNotFound: [
        	function (res) {
        		// 跳转到 404 页面：
            console.log('res',res)
            if(res.path == '/pages/home/appaudit'){
              uni.redirectTo({
              	url: "/pages/home/ios"
              });
              return
            }
            uni.redirectTo({
              url: "/pages/error/404", // 404 页面的路径
            });
        	}
      ],
		onLaunch() {},
    onLoad() {},
		onShow() {},
    onUnload() {},
    mounted() {
      document.body.addEventListener('touchstart', () => { })
    },
		onHide: function() {
      
    },
    methods:{}
	}
</script>

<style>
    @import "@/static/iconfont/iconfont.css";
	/*每个页面公共css */
  /* #ifdef H5 */
  body {
      max-width: 750rpx;
      margin: auto;
  }
  /* #endif */
	view{
		padding: 0;
		margin: 0;
		box-sizing: border-box;
		font-family: Resource Han Rounded CN;
	}
  .statusbar-height{  
    padding-bottom: 0;  
    padding-bottom: constant(safe-area-inset-bottom);  
    padding-bottom: env(safe-area-inset-bottom);  
  }
  image{
    width: 100%;
    height: 100%;
    pointer-events:none;
    -webkit-pointer-events:none;
    -ms-pointer-events:none;
    -moz-pointer-events:none;
  }
  img{
    width: 100%;
    height: 100%;
    pointer-events:none;
    -webkit-pointer-events:none;
    -ms-pointer-events:none;
    -moz-pointer-events:none;
  }
  uni-page-head {
    display: none;
  }
  .btn-zoom:active{
    transform: scale(0.97);
    background: rgba(255, 128, 12,0.85)!important;
  }
</style>
